package com.qfedu.aunt.commons.pojo;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 培训分类表
 * </p>
 *
 * @author xiaobobo
 * @since 2022-10-26
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_training")
@ApiModel(value="Training对象", description="培训分类表")
public class Training implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "培训分类ID")
    @TableId(value = "training_id", type = IdType.ID_WORKER_STR)
    private String trainingId;

    @ApiModelProperty(value = "培训分类名字")
    private String trainingName;

    @ApiModelProperty(value = "培训分类描述")
    private String trainingDescribe;

    @ApiModelProperty(value = "创建时间")
    private Date trainingCreateTime;

    @ApiModelProperty(value = "更新时间")
    private Date trainingUpdateTime;

    @ApiModelProperty(value = "删除标记")
    private Integer trainingDeleted;

    @ApiModelProperty(value = "离线乐观锁")
    private Integer trainingVersion;


}
